package javapop.framework.parser.expr;

import javapop.framework.Parser;

public abstract class BracketNode extends DefaultExprNode {
	private Parser<?> openParser;
	private Parser<?> closeParser;
	private boolean open;
	
	public BracketNode(Parser<?> openParser, Parser<?> closeParser, boolean open) {
		this.openParser = openParser;
		this.closeParser = closeParser;
		this.open = open;
	}
	
	public boolean isOpen() {
		return open;
	}
	
	public Parser<?> getOpenParser() {
		return openParser;
	}
	
	public Parser<?> getCloseParser() {
		return closeParser;
	}
		
}
